package cn.hongyu.bean;
/*
    用户的实体类
 */
public class User {
    private Integer id;     // 主键id
    private String name;    // 姓名
    private Integer age;    // 年龄
    private Integer srarch_count;

    @Override
    public String toString() {
        return "User{" +
                "id=" + id +
                ", name='" + name + '\'' +
                ", age=" + age +
                ", srarch_count=" + srarch_count +
                '}';
    }

    public Integer getSrarch_count() {
        return srarch_count;
    }

    public void setSrarch_count(Integer srarch_count) {
        this.srarch_count = srarch_count;
    }

    public User() {
    }

    public User(Integer id, String name, Integer age) {
        this.id = id;
        this.name = name;
        this.age = age;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getAge() {
        return age;
    }

    public void setAge(Integer age) {
        this.age = age;
    }


}
